Automattic\Jetpack\Waf\Waf_Blocklog_Manager A

Total Complexity 60
Dependencies 1
Dependents 3
Total lines 429
Lines of code 231
Logical lines of code 146
Comment lines 130
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
write_blocklog()
A
46 12 33
get_default_all_time_stat_value()
S
57 6 16
get_daily_summary()
S
56 5 18
get_all_time_block_count_value()
S
56 4 18
connect_to_wordpress_db()
S
58 4 16
write_blocklog_row()
S
58 4 15
write_daily_summary_row()
S
59 3 14
write_all_time_block_count_row()
S
60 3 13
filter_last_30_days()
S
63 2 11
get_thirty_days_block_counts()
S
66 2 8
close_db_connection()
S
72 2 6
get_request_headers()
S
66 2 8
create_blocklog_table()
S
61 1 15
get_all_time_block_count()
S
68 2 7
write_all_time_block_count()
S
69 2 7
get_blocklog_file_path()
S
79 1 3
get_current_day_block_count()
S
71 1 5
increment_daily_summary()
S
69 1 6
unserialize_option_value()
S
80 1 3
serialize_option_value()
S
80 1 3
write_daily_summary()
S
71 1 6